/*
* @author David Alexa <alexa.david@me.com>
*
* Copyright (C) 2012-2015 CESNET
*
* LICENSE TERMS
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
*    notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
*    notice, this list of conditions and the following disclaimer in
*    the documentation and/or other materials provided with the
*    distribution.
* 3. Neither the name of the Company nor the names of its contributors
*    may be used to endorse or promote products derived from this
*    software without specific prior written permission.
*
* ALTERNATIVELY, provided that this notice is retained in full, this
* product may be distributed under the terms of the GNU General Public
* License (GPL) version 2 or later, in which case the provisions
* of the GPL apply INSTEAD OF those given above.
*
* This software is provided ``as is'', and any express or implied
* warranties, including, but not limited to, the implied warranties of
* merchantability and fitness for a particular purpose are disclaimed.
* In no event shall the company or contributors be liable for any
* direct, indirect, incidental, special, exemplary, or consequential
* damages (including, but not limited to, procurement of substitute
* goods or services; loss of use, data, or profits; or business
* interruption) however caused and on any theory of liability, whether
* in contract, strict liability, or tort (including negligence or
* otherwise) arising in any way out of the use of this software, even
* if advised of the possibility of such damage.
*/
/**
* @author David Alexa <alexa.david@me.com>
*
* Copyright (C) 2012-2015 CESNET
*
* LICENSE TERMS
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
*    notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
*    notice, this list of conditions and the following disclaimer in
*    the documentation and/or other materials provided with the
*    distribution.
* 3. Neither the name of the Company nor the names of its contributors
*    may be used to endorse or promote products derived from this
*    software without specific prior written permission.
*
* ALTERNATIVELY, provided that this notice is retained in full, this
* product may be distributed under the terms of the GNU General Public
* License (GPL) version 2 or later, in which case the provisions
* of the GPL apply INSTEAD OF those given above.
*
* This software is provided ``as is'', and any express or implied
* warranties, including, but not limited to, the implied warranties of
* merchantability and fitness for a particular purpose are disclaimed.
* In no event shall the company or contributors be liable for any
* direct, indirect, incidental, special, exemplary, or consequential
* damages (including, but not limited to, procurement of substitute
* goods or services; loss of use, data, or profits; or business
* interruption) however caused and on any theory of liability, whether
* in contract, strict liability, or tort (including negligence or
* otherwise) arising in any way out of the use of this software, even
* if advised of the possibility of such damage.
*/
/** enable overriding this file **/
/*
* @author David Alexa <alexa.david@me.com>
*
* Copyright (C) 2012-2015 CESNET
*
* LICENSE TERMS
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
*    notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
*    notice, this list of conditions and the following disclaimer in
*    the documentation and/or other materials provided with the
*    distribution.
* 3. Neither the name of the Company nor the names of its contributors
*    may be used to endorse or promote products derived from this
*    software without specific prior written permission.
*
* ALTERNATIVELY, provided that this notice is retained in full, this
* product may be distributed under the terms of the GNU General Public
* License (GPL) version 2 or later, in which case the provisions
* of the GPL apply INSTEAD OF those given above.
*
* This software is provided ``as is'', and any express or implied
* warranties, including, but not limited to, the implied warranties of
* merchantability and fitness for a particular purpose are disclaimed.
* In no event shall the company or contributors be liable for any
* direct, indirect, incidental, special, exemplary, or consequential
* damages (including, but not limited to, procurement of substitute
* goods or services; loss of use, data, or profits; or business
* interruption) however caused and on any theory of liability, whether
* in contract, strict liability, or tort (including negligence or
* otherwise) arising in any way out of the use of this software, even
* if advised of the possibility of such damage.
*/
*[class*='level'] {
  position: relative;
  float: left;
  width: 100%; }
*[class*='level'] .dots {
  background: url("../images/dot.png") left top repeat transparent;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  position: absolute;
  left: 0px;
  top: 0px;
  min-height: 28px;
  height: 100%; }

.level-0 .dots {
  width: 0px; }
.level-0 .label {
  padding-left: 6px; }
.generatedForm .level-0 input.label {
  margin-left: 6px;
  padding-left: 0px; }

.level-1 .dots {
  width: 8px; }
.level-1 .label {
  padding-left: 14px; }
.generatedForm .level-1 input.label {
  margin-left: 14px;
  padding-left: 0px; }

.level-2 .dots {
  width: 16px; }
.level-2 .label {
  padding-left: 22px; }
.generatedForm .level-2 input.label {
  margin-left: 22px;
  padding-left: 0px; }

.level-3 .dots {
  width: 24px; }
.level-3 .label {
  padding-left: 30px; }
.generatedForm .level-3 input.label {
  margin-left: 30px;
  padding-left: 0px; }

.level-4 .dots {
  width: 32px; }
.level-4 .label {
  padding-left: 38px; }
.generatedForm .level-4 input.label {
  margin-left: 38px;
  padding-left: 0px; }

.level-5 .dots {
  width: 40px; }
.level-5 .label {
  padding-left: 46px; }
.generatedForm .level-5 input.label {
  margin-left: 46px;
  padding-left: 0px; }

.level-6 .dots {
  width: 48px; }
.level-6 .label {
  padding-left: 54px; }
.generatedForm .level-6 input.label {
  margin-left: 54px;
  padding-left: 0px; }

.level-7 .dots {
  width: 56px; }
.level-7 .label {
  padding-left: 62px; }
.generatedForm .level-7 input.label {
  margin-left: 62px;
  padding-left: 0px; }

.level-8 .dots {
  width: 64px; }
.level-8 .label {
  padding-left: 70px; }
.generatedForm .level-8 input.label {
  margin-left: 70px;
  padding-left: 0px; }

.level-9 .dots {
  width: 72px; }
.level-9 .label {
  padding-left: 78px; }
.generatedForm .level-9 input.label {
  margin-left: 78px;
  padding-left: 0px; }

.level-10 .dots {
  width: 80px; }
.level-10 .label {
  padding-left: 86px; }
.generatedForm .level-10 input.label {
  margin-left: 86px;
  padding-left: 0px; }

.level-11 .dots {
  width: 88px; }
.level-11 .label {
  padding-left: 94px; }
.generatedForm .level-11 input.label {
  margin-left: 94px;
  padding-left: 0px; }

.level-12 .dots {
  width: 96px; }
.level-12 .label {
  padding-left: 102px; }
.generatedForm .level-12 input.label {
  margin-left: 102px;
  padding-left: 0px; }

.level-13 .dots {
  width: 104px; }
.level-13 .label {
  padding-left: 110px; }
.generatedForm .level-13 input.label {
  margin-left: 110px;
  padding-left: 0px; }

.level-14 .dots {
  width: 112px; }
.level-14 .label {
  padding-left: 118px; }
.generatedForm .level-14 input.label {
  margin-left: 118px;
  padding-left: 0px; }

.level-15 .dots {
  width: 120px; }
.level-15 .label {
  padding-left: 126px; }
.generatedForm .level-15 input.label {
  margin-left: 126px;
  padding-left: 0px; }

.level-0:not(.container):not(.list) {
  margin: 0px;
  border-left: 2px solid #aaa;
  border-right: 2px solid #aaa;
  background: #f4f4f4;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 100%; }
.level-0:not(.container):not(.list):nth-child(even) {
  background: #fff;
  border-left: 2px solid #333;
  border-right: 2px solid #333; }
.level-0:not(.container):not(.list):nth-child(even) > .leaf-line:first-child {
  border-top: 1px solid #666; }
.level-0:not(.container):not(.list):nth-child(odd) > .leaf-line:first-child {
  border-top: 1px solid #aaa; }

.level-0 > .leaf-line > .label > .label-cover > span.dash {
  display: none; }

.sortable-placeholder {
  height: 40px;
  width: 100%;
  display: block;
  min-height: 40px;
  float: left;
  clear: left; }

.ui-sortable-helper {
  background: #fff; }

.leaf-line {
  padding: 6px 0.5% 5px 0px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  margin-top: -1px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  width: 100%;
  position: relative; }
.leaf-line.hover {
  background-color: #dadada !important;
  border-color: #aaa; }
.leaf-line.modified {
  background-color: #d4e5ef !important; }
.leaf-line.is-root-elem {
  border-left: 0px none !important;
  border-right: 0px none !important;
  margin-bottom: 15px !important; }
.leaf-line.is-root-elem .dots, .leaf-line.is-root-elem .dash {
  display: none; }
.leaf-line.is-root-elem .edit-bar .sibling {
  display: none; }
.leaf-line .label {
  width: 35%;
  float: left;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #333; }
.leaf-line .value {
  width: 59%;
  float: left;
  color: #000;
  margin-left: 2%; }
.leaf-line .range {
  width: 42%;
  float: left; }
.leaf-line .range-cover-number {
  width: 6%;
  float: left;
  margin-right: 1.8%;
  text-align: right;
  padding: 3px 5px;
  margin-top: -2px;
  margin-bottom: -2px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #ccc;
  background: url('');
  background: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ffffff), color-stop(100%, #f4f4f4));
  background: -moz-linear-gradient(#ffffff, #f4f4f4);
  background: -webkit-linear-gradient(#ffffff, #f4f4f4);
  background: linear-gradient(#ffffff, #f4f4f4);
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px; }
.leaf-line .config-value-cover, .leaf-line .value-cover {
  width: 45%;
  float: left;
  margin-top: -3px;
  margin-left: 2%; }
.leaf-line .config-value-cover label, .leaf-line .value-cover label {
  margin: 0px;
  padding: 0px;
  width: auto;
  padding-right: 10px;
  line-height: 18px;
  height: 18px; }
.leaf-line input.value.text {
  width: 45%;
  margin: -4px 0px;
  height: 22px;
  line-height: 22px;
  padding: 0px 3px;
  font-size: 0.9em;
  margin-left: 2%; }
.leaf-line textarea.value {
  width: 50%;
  margin: -4px 0px;
  border: 1px solid #ccc;
  padding: 0px 3px;
  font-size: 0.9em;
  margin-left: 2%; }
.leaf-line select {
  margin-bottom: -1px;
  max-width: 70%; }
.leaf-line.generated input.value.text, .leaf-line.generated textarea.value {
  margin-top: 0px;
  margin-bottom: 0px; }
.leaf-line.generated .tooltip-cover {
  margin-top: 3px; }
.leaf-line .edit-bar {
  min-height: 22px;
  margin: -3px 0px -5px 2%;
  float: right;
  text-align: right; }
.leaf-line .edit-bar .child {
  display: none; }
.leaf-line .edit-bar img {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  opacity: 0.4;
  cursor: pointer;
  margin-left: -2px; }
.leaf-line .edit-bar img:hover {
  filter: progid:DXImageTransform.Microsoft.Alpha(enabled=false);
  opacity: 1; }
.leaf-line .edit-bar.generated {
  margin-top: 0px; }
.leaf-line.state .edit-bar {
  width: auto; }
.leaf-line.active {
  position: relative;
  z-index: 25;
  background: #fff; }
.leaf-line.has-children span.bull {
  width: 5px;
  height: 5px;
  position: absolute;
  left: -9px;
  top: 6px;
  background-color: #666; }
.leaf-line .label-cover {
  position: relative; }
.leaf-line .label-cover span.dash {
  width: 5px;
  height: 1px;
  position: absolute;
  left: -9px;
  top: 8px;
  background-color: #666; }
.leaf-line .label-cover strong {
  font-weight: 600; }

.container, .list {
  margin: 25px 0px; }
.container > *:not(.container):not(.list), .list > *:not(.container):not(.list) {
  border-left: 2px solid #aaa;
  border-right: 2px solid #aaa;
  background: #f0f0f0; }
.container > *:not(.container):not(.list):nth-child(even), .list > *:not(.container):not(.list):nth-child(even) {
  background: #fff;
  border-left: 2px solid #333;
  border-right: 2px solid #333; }
.container > *:not(.container):not(.list):nth-child(even) .dots, .list > *:not(.container):not(.list):nth-child(even) .dots {
  background-color: #fff; }
.container .container, .container .list, .list .container, .list .list {
  border-top: 1px solid #ddd; }
.container + * > .leaf-line:first-child, .list + * > .leaf-line:first-child {
  margin-top: 0px; }

.mandatory {
  color: #888; }

.tooltip-cover {
  float: right;
  margin: 0px 0px 0px 4px; }

#hiddenModelTreeDump {
  display: none; }

pre {
  font-family: "Courier New", Courier, monospace;
  line-height: 1.4em; }

.form-underlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 20; }

.form-cover {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  right: 0px;
  z-index: 21;
  display: none; }

form.form .radio-cover {
  margin-top: 0px; }

form.generatedForm {
  position: relative;
  z-index: 25;
  background: #fff;
  margin: 0px 0px 15px 0px;
  float: left;
  width: 100%;
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.7);
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.7);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.7); }
form.generatedForm input[type="submit"] {
  float: right;
  margin-right: 15px; }
form.generatedForm .close {
  float: left;
  margin-left: 15px; }
form.generatedForm #modelTreeDump {
  display: none;
  width: 94%;
  overflow: hidden;
  clear: both;
  padding: 15px 3%;
  background: #f0f0f0;
  border-top: 1px solid #ccc; }
form.generatedForm .model-tree-opener {
  float: right;
  margin: 25px 25px 0px 0px;
  cursor: pointer; }
form.generatedForm .append-changes {
  margin: 15px 10px 15px 0px;
  cursor: pointer; }

form.generatedForm .leaf-line input.label, form.generatedForm .leaf-line input.value, form.addedForm .leaf-line input.label, form.addedForm .leaf-line input.value {
  margin-top: 0px;
  height: 22px;
  line-height: 22px; }

form.addedForm .leaf-line {
  background: #d6f1d9 !important; }

/* tooltip */
.tooltip-cover {
  cursor: help; }
.tooltip-cover .icon-help {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid #ddd;
  color: #888;
  text-shadow: 1px 1px 2px #ccc;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  display: inline-block;
  vertical-align: middle;
  *vertical-align: auto;
  *zoom: 1;
  *display: inline;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  font-size: 13px;
  margin: -5px 0px -2px 0px; }
.tooltip-cover .icon-help:hover {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #bbb; }
.tooltip-cover .tooltip-description {
  display: none; }

.gips-container {
  max-height: 200px;
  position: absolute;
  z-index: 10;
  margin-left: 2px;
  -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.4);
  box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.4);
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px; }

.gips-body {
  color: #fff;
  font-size: 13px;
  line-height: 1.55em;
  padding: 10px;
  padding-right: 20px;
  position: relative;
  float: left;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px; }
.gips-body.blue {
  background-color: #004f80; }

.gips-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px;
  position: absolute;
  bottom: -6px;
  border-color: #004f80 transparent transparent transparent;
  margin-left: 20px; }
